package com.hoshiicloud.common.utils.tree;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("商品类目关联商品数量列表的出参对象")
public class GoodsCategoryWithGoodNumTree implements Serializable, TreeEntity<GoodsCategoryWithGoodNumTree> {

    public String id;

    /**
     * id
     */
    public String value;

    /**
     * 名称
     */
    public String label;

    public String parentId;

    @ApiModelProperty("该等级发布的商品数量")
    private Integer goodsNum;

    @ApiModelProperty("禁用/启用 状态的中文")
    private String statusName;

    @ApiModelProperty("禁用/启用 状态")
    private Integer status;

    public List<GoodsCategoryWithGoodNumTree> children;
}
